package com.czk.web;

import org.springframework.stereotype.Controller;
import org.springframework.ui.Model;
import org.springframework.web.bind.annotation.GetMapping;

/**
 * @Author:ChenZhangKun
 * @Date: 2021/4/25 14:58
 */
@Controller
public class NettyController {

    @GetMapping("/test")
    public String index(Model model) {
        model.addAttribute("name", "czk");
        return "index";
    }
}
